package io.github.uicdb.et.item.weapon;

import io.github.uicdb.et.ModElements;
import io.github.uicdb.et.ModItemDataComponents;
import io.github.uicdb.et.item_data.ItemElementData;
import net.minecraft.core.component.DataComponents;
import net.minecraft.world.item.SwordItem;
import net.minecraft.world.item.Tiers;

public class NightDemon extends SwordItem {
    public NightDemon() {
        super(Tiers.STONE, new Properties().durability(1250)
                .component(DataComponents.ATTRIBUTE_MODIFIERS, SwordItem.createAttributes(Tiers.GOLD, 1.5f, 1.2f))
                .component(ModItemDataComponents.ITEM_ELEMENT_DATA, new ItemElementData(ModElements.YIN.getElemental().getElementHolder(), 50, 20)
                )
        );
    }
}
